package lab02.test07;

public class Person {
    //属性：人名、年龄、身份证号
    String name ;
    String age;
    String IDcardnumber;
    //属性信息作为字符串返回

    public String getName() {
        return name;
    }

    public String getAge() {
        return age;
    }

    public String getIDcardnumber() {
        return IDcardnumber;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void setAge(String age) {
        this.age = age;
    }

    public void setIDcardnumber(String IDcardnumber) {
        this.IDcardnumber = IDcardnumber;
    }
}
